Skip to content

Areid/hex is bits#148

Merged
alastairreid merged 2 commits into
masterfrom
areid/hex-is-bits
Jun 23, 2026
Merged

Areid/hex is bits#148
alastairreid merged 2 commits into
masterfrom
areid/hex-is-bits

Conversation

@alastairreid

Copy link
Copy Markdown

Literal hex constants like "0xFF" now have type ": Bits(4*digits)".
They used to have type ": Integer".

The --language-version flag gives control over whether this is enabled or not.
I decided on a version instead of having lots of individual flags because I think it will be easier to manage.

@nikolaykosarev nikolaykosarev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but, as you have seen probably, some tests fail.

@alastairreid

Copy link
Copy Markdown
Author

All tests now passing.

@alastairreid alastairreid merged commit 77b963d into master Jun 23, 2026
1 check passed
@alastairreid alastairreid deleted the areid/hex-is-bits branch June 23, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants